home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmTextFieldCut.z / XmTextFieldCut
Encoding:
Text File  |  2003-11-18  |  2.6 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddCCCCuuuutttt((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV        XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddCCCCuuuutttt((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_T_e_x_t_F_i_e_l_d_C_u_t - A TextField function    that copies the
  10.       primary selection to the clipboard and deletes the selected
  11.       text
  12.  
  13.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.       #include <Xm/TextF.h>
  15.  
  16.       Boolean XmTextFieldCut (wwwwiiiiddddggggeeeetttt,,,, ttttiiiimmmmeeee)
  17.            _W_i_d_g_e_t     wwwwiiiiddddggggeeeetttt;
  18.            _T_i_m_e     ttttiiiimmmmeeee;
  19.  
  20.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  21.       _X_m_T_e_x_t_F_i_e_l_d_C_u_t copies    the primary selected text to the
  22.       clipboard and    then deletes the primary selected text.     This
  23.       routine calls    the widget's _X_m_N_v_a_l_u_e_C_h_a_n_g_e_d_C_a_l_l_b_a_c_k and
  24.       verification callbacks, either _X_m_N_m_o_d_i_f_y_V_e_r_i_f_y_C_a_l_l_b_a_c_k or
  25.       _X_m_N_m_o_d_i_f_y_V_e_r_i_f_y_C_a_l_l_b_a_c_k_W_c_s, or both.    If both    verification
  26.       callback lists are registered, the procedures    of the
  27.       _X_m_N_m_o_d_i_f_y_V_e_r_i_f_y_C_a_l_l_b_a_c_k list are executed first and the
  28.       resulting data is passed to the _X_m_N_m_o_d_i_f_y_V_e_r_i_f_y_C_a_l_l_b_a_c_k_W_c_s
  29.       callbacks.
  30.  
  31.       wwwwiiiiddddggggeeeetttt
  32.            Specifies the TextField widget ID.
  33.  
  34.       ttttiiiimmmmeeee Specifies the time at which the selection value is to
  35.            be modified.  This should be the    time of    the event
  36.            which triggered this request.
  37.  
  38.       For a    complete definition of TextField and its associated
  39.       resources, see _X_m_T_e_x_t_F_i_e_l_d(_3_X).
  40.  
  41.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  42.       This function    returns    False if the primary selection is
  43.       NULL,    if the wwwwiiiiddddggggeeeetttt doesn't own the primary selection, or if
  44.       the function is unable to gain ownership of the clipboard
  45.       selection.  Otherwise, it returns True.
  46.  
  47.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  48.       _X_m_T_e_x_t_F_i_e_l_d(_3_X).
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.